package com.usian.api.admin;

import com.usian.model.admin.dtos.SensitiveDto;
import com.usian.model.admin.pojos.AdSensitive;
import com.usian.model.common.dtos.ResponseResult;

public interface AdSensitiveControllerApi {
    /**
     * 敏感词查询
     * @param dto
     * @return
     */
    public ResponseResult list(SensitiveDto dto);

    /**
     * 敏感词添加
     * @param adSensitive
     * @return
     */
    ResponseResult save(AdSensitive adSensitive);

    /**
     * 敏感词修改
     * @param adSensitive
     * @return
     */
    ResponseResult update(AdSensitive adSensitive);

    /**
     *
     * @param id
     * @return
     */
    ResponseResult del(Integer id);



}
